<?php


namespace App\Remote\Rms;

use GuzzleHttp\Exception\GuzzleException;
use Symfony\Component\HttpFoundation\Request as RequestAlias;

class RmsCacheRemote extends BaseRmsRemote
{

    /**
     * 移除rms缓存
     *
     * @param array $cacheKeys
     * @return mixed|void
     * @throws GuzzleException
     */
    public static function rmCache(array $cacheKeys)
    {
        return self::customCacheRequest(
            "api/internal/sys/rmCache",
            RequestAlias::METHOD_POST,
            ["cacheKeys" => $cacheKeys]
        );
    }

}
